package org.example.service;

import org.example.domain.query.User;
import org.example.domain.vo.UserInfoVo;
import org.example.model.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.utils.Response;
import org.example.domain.vo.CaptchaVo;


/**
* @author camellia
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2024-06-14 10:32:14
*/
public interface SysUserService extends IService<SysUser> {

    Response<UserInfoVo> login(User user);

    SysUser getUserByUsername(String username);

    Response<CaptchaVo> getCaptchaCode();
}
